package cn.hill4j.tool.spring.ext.mvc;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
  * ClassName: MvcDecEncHandler
  * Description: mvc请求参数响应结果加解密处理器bean标志注解
  * @author hillchen
  * Date: 2023/8/13
  * @version: 1.0
  */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface MvcDecEncHandler {
    /**
     * @author hillchen
     * Description: bean name
     * Date: 2023/8/13 00:42
     * @return String
     **/
    @AliasFor(annotation = Component.class)
    String value() default "";
}
